package cn.glc.daily.life.infrastructure.dao;

import cn.glc.daily.life.infrastructure.po.UserAuthsPo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * @author simon
 * @date 2020/9/24 15:44
 * @copyright:
 * @modifier
 * @motto a no talent, people who have to study hard
 */
@Component
public interface UserAuthsDao extends BaseMapper<UserAuthsPo> {

    /**
     * 查询用户是否存在
     *
     * @param identify
     * @param type
     * @return
     */
    UserAuthsPo findByIdentifyAndType(@Param("identify") String identify, @Param("type") String type);
}
